<template>
	<view class="shop">
		<view>
			<image src="../../static/technician/36.png"></image>
			<view>
				<h1>技师实名认证通过</h1>
				<!-- <p>身份证号<span>{{data.card_no}}</span></p> -->
				<span>所有理疗师签约入驻平台时，身份信息均已通过核验</span>
			</view>
		</view>
		<!-- <view>
			<image src="../../static/technician/36.png"></image>
			<view>
				<h1>该店铺已在平台完成市场主体登记认证</h1>
				<span>根据相关法律要求，经营者相关信息公示如下</span>
			</view>
		</view> -->
		<view>
			<view>
				<h1>营业执照</h1>
				<image :src="$imgUrl+data.business_img" mode="heightFix"></image>
			</view>
		</view>
		<view>
			<view>
				<h1>理疗师资格证书</h1>
				<image :src="$imgUrl+data.certification_img" mode="heightFix"></image>
			</view>
		</view>
		<view>
			<view>
				<h1>健康证</h1>
				<image :src="$imgUrl+data.health_img" mode="heightFix"></image>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				id: '',
				data: {}
			};
		},
		onLoad(res) {
			this.id = res.id
			this.getPartnerInfo()
		},
		methods: {
			getPartnerInfo() {
				this.$httpRequest('/tech/getPartnerInfo', {
					tech_id: this.id
				}).then(res => {
					console.log(res)
					this.data = res.data
				})
			}
		}
	}
</script>

<style lang="less">
	.shop {
		&>view {
			width: 690rpx;
			background: #fff;
			border-radius: 20rpx;
			padding: 10rpx 20rpx;
			box-sizing: border-box;
			margin: 20rpx auto;
			display: flex;

			&>image {
				width: 24rpx;
				height: 24rpx;
				margin-right: 10rpx;
				transform: translateY(9rpx);
			}

			&>view {
				flex: 1;

				&>image {
					height: 150rpx;
					border-radius: 10rpx;
					margin-top: 20rpx;
					display: block;
					// image-rendering: -moz-crisp-edges;
					// image-rendering: -o-crisp-edges;
					// image-rendering: -webkit-optimize-contrast;
					// image-rendering: crisp-edges;
					// -ms-interpolation-mode: nearest-neighbor;
				}

				&>h1 {
					font-size: 15px;
				}

				&>p {
					font-size: 15px;
					margin: 12rpx 0;

					&>span {
						margin-left: 20rpx;
						color: #9E9E9E;
					}
				}

				&>span {
					font-size: 12px;
					color: #4EAA6D;
				}
			}
		}
	}
</style>